package com.blacktech.dbu.auth.dto;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 权限更新请求DTO
 *
 * @author Yanyunsong
 */
@Data
public class UpdatePermissionRequest {

    /**
     * 权限级别 (1:OWNER, 2:COLLABORATOR, 3:REPORTER)
     */
    @NotNull(message = "权限级别不能为空")
    @Min(value = 1, message = "权限级别不能小于1")
    private Integer permissionLevel;

    /**
     * 备注说明
     */
    private String remark;
}